package com.uniapp.mealserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.uniapp.mealserver.domain.Meal;

import java.util.List;

public interface MealService extends IService<Meal> {
    Boolean update(Meal meal);
    Boolean delete(Long id);
    Boolean add(Meal meal);
    Meal getById(Long id);
    List<Meal> getAll();
    IPage<Meal> getPage(int currentPage, int pageSize, Meal meal);
}
